$controls/header()$
$controls/navigation()$

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="180" valign="top">$controls/drawer()$ </td>
<td width="5"></td>
<td valign="top">
<form action="" method="post" enctype="multipart/form-data" name="SettingForm" id="SettingForm">
 $controls/tableheader(
  Caption="参数配置",
  ElementId="post"
  )$
  <table width="100%" cellspacing="0" class="inner">
  <tr class="forumtd">
    <td width="180">标题</td>
    <td><input name="htitle" type="text" value="$Status.Setting.Title$" style="width:80%;"/></td>
  </tr>
  
  <tr class="forumtd">
    <td>副标题</td>
    <td><input name="subtitle" type="text" value="$Status.Setting.SubTitle$"style="width:80%;"/></td>
    </tr>
  <tr class="forumtd">
    <td valign="top"><p>公告</p>
      <p>支持HTML</p></td>
    <td><textarea id="bulletin" name="bulletin" style="height:100px; width:80%;">$Status.Setting.Bulletin$</textarea></td>
    </tr>
  <tr class="forumtd">
    <td valign="top">我的照片</td>
    <td>
	$if(Status.Setting.HasPhoto)$<img src="$Status.Setting.Photo$" />$endif$
	<p>
	  <input name="Photo" twerype="text" value="$Status.Setting.Photo$" size="50" />
	</p>
      <p>
        <input type="file" name="uploader" size="50" />
      </p></td>
  </tr>
  <tr class="forumtd">
    <td valign="top"><p>我的宣言</p>
      <p>支持UBB</p></td>
    <td><textarea id="Signature" name="Signature" style="height:100px; width:80%;">$Status.Setting.Signature$</textarea></td>
  </tr>
  <tr class="forumtd">
    <td>访问限制</td>
    <td><input type="checkbox" name="RequireFriend" value="1" class="smallbox" />
        仅好友 
        <input type="checkbox" name="RequireFans" value="1" class="smallbox" />
        仅FANS 
        <input type="checkbox" name="RequireIdol" value="1" class="smallbox" />
        仅偶像</td>
  </tr>
  <tr class="forumtd">
    <td>基模板</td>
    <td> 
      <select name="template">
        $Templates:{t|<option value="$t.Identifier$">$t.Name$</option>}$
      </select>
      (选定基模板后，可以在基模板的基础上修改成个性风格)</td>
  </tr>
  <tr class="forumtd">
    <td>首页文章列表页大小</td>
    <td><select name="PageSize">
      <option value="10">10</option>
      <option value="15">15</option>
      <option value="20">20</option>
      <option value="25">25</option>
    </select>
(我的Blog首页文章每页显示几条文章记录) </td>
  </tr>
  <tr class="forumtd">
    <td>我的文章列表页大小</td>
    <td><select name="CPPageSize">
      <option value="10">10</option>
      <option value="15">15</option>
      <option value="20">20</option>
      <option value="25">25</option>
    </select></td>
  </tr>
  <tr class="forumtd">
    <td>我的评论列表页大小</td>
    <td><select name="CommentPageSize">
      <option value="10">10</option>
      <option value="15">15</option>
      <option value="20">20</option>
      <option value="25">25</option>
    </select></td>
  </tr>
  <tr class="forumtd">
    <td>时间格式</td>
    <td><select name="DTFormat">
      <option value="yyyy年MM月dd日 hh时mm分ss秒">yyyy年MM月dd日 hh时mm分ss秒</option>
      <option value="yyyy-MM-dd hh:mm:ss">yyyy-MM-dd hh:mm:ss</option>
      <option value="yy年MM月dd日 hh时mm分ss秒">yy年MM月dd日 hh时mm分ss秒</option>
      <option value="yy-MM-dd hh:mm:ss">yy-MM-dd hh:mm:ss</option>
      <option value="yy年MM月dd日">yy年MM月dd日</option>
      <option value="yy-MM-dd">yy-MM-dd</option>
    </select></td>
  </tr>
  <tr class="forumtd">
    <td>暂时关闭</td>
    <td><input type="checkbox" name="Shutdown" value="1" class="smallbox" $if(Status.Setting.Shutdown)$checked="checked"$endif$/></td>
  </tr>
  <tr class="forumtd">
    <td valign="top">原因</td>
    <td><textarea id="Reason" name="Reason" style="height:100px; width:80%;">$Status.Setting.Reason$</textarea></td>
  </tr>
</table>
 $controls/tablefooter()$ 
<p align="center"><input name="submit" type="submit" class="button" value=" 保存配置 " /></p>
</form>
</td>
</tr>
</table>  
<script>
var Restrict = $Status.Setting.Restrict$;
checkbyvalue(document.forms["SettingForm"].template, '$Status.Setting.Template$');
checkbyvalue(document.forms["SettingForm"].PageSize, '$Status.Setting.PageSize$');
checkbyvalue(document.forms["SettingForm"].CPPageSize, '$Status.Setting.CPPageSize$');
checkbyvalue(document.forms["SettingForm"].CommentPageSize, '$Status.Setting.CommentPageSize$');
checkbyvalue(document.forms["SettingForm"].DTFormat, '$Status.Setting.DTFormat$');
document.forms["SettingForm"].RequireFriend.checked = ((Restrict&1) != 0);
document.forms["SettingForm"].RequireFans.checked = ((Restrict&2) != 0);
document.forms["SettingForm"].RequireIdol.checked = ((Restrict&4) != 0);
</script>
$controls/footer()$